//
//  NSMAssetBrowserView.h
//  BSProject
//
//  Created by nsm on 2019/11/25.
//  Copyright © 2019 beisheng. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NSMAssetBrowserCell.h"

NS_ASSUME_NONNULL_BEGIN

@class NSMAssetBrowserView;

@protocol NSMAssetBrowserDelegate <NSMAssetBrowserZoomDelegate>
@required
- (NSInteger)numberOfItemsInAssetBrowserView:(NSMAssetBrowserView *)assetBrowserView;
@optional
@end

@interface NSMAssetBrowserView : UIView
@property (nonatomic, weak) id<NSMAssetBrowserDelegate> delegate;
@property (nonatomic, strong, readonly) UICollectionView *collectionView;
@end

NS_ASSUME_NONNULL_END
